package com.ft.f_springboot_route.service;


import com.ft.f_springboot_route.bean.Route;
import com.ft.f_springboot_route.utils.Pager;

import java.util.List;

public interface RouteService {

    Pager<Route> selectRouteList(String titleName, Integer currentPage);

    List<Route> toRouteList();

    Route selectRoute(Integer routeId);

    void addRoute(Route route);

    void editRoute(Route route);

    void deleteRoute(Integer routeId);

}
